brew: setup shell completion#3
Closed
jkroepke wants to merge 2 commits intostackitcloud:mainfrom
jkroepke:patch-1
Closed
brew: setup shell completion#3jkroepke wants to merge 2 commits intostackitcloud:mainfrom jkroepke:patch-1
jkroepke wants to merge 2 commits intostackitcloud:mainfrom
jkroepke:patch-1
Conversation
Author
|
@marceljk Could you take a look here as well? |
Contributor
|
Hi @jkroepke, thanks for your contribution. homebrew-tap/Formula/stackit.rb Line 4 in f887399 |
7 tasks
Contributor
|
Hi @jkroepke, the shell completion is now added within the goreleaser and with the next release, this will be added to the homebrew tap. (see stackitcloud/stackit-cli#692) Thanks for your contribution 😃 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR add the automatic setup of shell completion for StackIT CLI.
Docs: https://rubydoc.brew.sh/Formula#generate_completions_from_executable-instance_method
Ref for kubectl: https://github.com/Homebrew/homebrew-core/blob/33a3f1b400026561ff01cd8f7647a0503a06cbf7/Formula/k/kubernetes-cli.rb#L39C5-L39C41
Tested locally: